package com.example.dagger;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Administrator on 2018/12/8.
 */
@Module
public class ProductModule {

//    private String str;
//    ProductModule(String str){
//        this.str = str;
//    }
    @Provides
    String getStr(){
        return "333";
    }

    @Provides
    Product providerProduct(String str){
        return new Product(str);
    }
}
